package example

import (
	"fyne.io/fyne/v2"
	"fyne.io/fyne/v2/container"
	"fyne.io/fyne/v2/widget"
)

func Demo(a fyne.App) {
	w := a.NewWindow("")
	w.Resize(fyne.NewSize(900, 600))
	var result fyne.CanvasObject
	msg := widget.NewLabel("")
	btn := widget.NewButton("do", func() {

	})
	top := container.NewVBox(btn)
	c := container.NewBorder(top, msg, nil, nil, result)
	w.SetContent(c)
	w.CenterOnScreen()
	w.Show()
}
